{messages block='BlockedUsers'}

{if $aBlockedUsers}

{include file="$sRootPath/_blocks/pager.html"}

<table style="width:100%;" cellpadding="5" cellspacing="0">
    {foreach from=$aBlockedUsers item=aBlock name=blocked}
    <tr class="{if $smarty.foreach.favorites.iteration % 2}border13{/if}">
        <td style="vertical-align:middle;" class="{if $smarty.foreach.favorites.iteration % 2}border13{/if}">
        <table style="width:100%;">
            <tr>
                <td style="width:30%;text-align:center;font-size:8pt;">
                <a href="{url link='public.user' name=$aBlock.user2}">
                    {assign var='sUser' value=$aFavorite.user}
                    {Account::Avatar sUser=$aBlock.user2 iSize=75 class="pic1" onmouseover="showInfo5('`$aBlock.user2`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
                </a>
                </td>
                <td style="width:70%;vertical-align:middle;font-size:8pt;" class="color">
                <a href="{url link='public.user' name=$aBlock.user2}">{$aBlock.user2}</a> <br />
                <br />
                <b>{language text="blocked"}:</b> {$aBlock.time|date_format:$sDateTimeFormat}
                <br />
                <div style="padding:5px;"><a class="link_action" href="{url link='current' act='unblock' name=$aBlock.user2}">[ {language text="unblock"} ]</a></div>
                </td>
            </tr>
        </table>
        </td>
    </tr>
    {/foreach}
    <tr>
        <td></td>
    </tr>
</table>

{include file="$sRootPath/_blocks/pager.html"}



{else}
    <div class="message_info">
        {language text="there_are_no_blocked_user"}
    </div>
{/if}